package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.Planning;
import com.aerotechnic.entities.PlanningTemplate;

public interface PlanningTemplateDaoIn {
	
void save(PlanningTemplate myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(PlanningTemplate myEntity);
    
    void delete(Long id);

    PlanningTemplate findByID(Long id);
    
    List<PlanningTemplate> findAll();
    
    List<PlanningTemplate>  getPlTemplWithLessCharge(String typeCheck, String typeAvion, float charge2notExcede);

}
